<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>


<body>
<table width="100%" border="1">
<c:if test="${!empty list && param.areaCode != ''}">
 <tr>
    <td class="nohover" colspan="23">
    <input class="buttondownload" type="button" value="下载" onclick="window.location.href='<%=request.getContextPath()%>/ViewCase.do?method=xls&areaCode=${param.areaCode}&year=${param.year}&type=${param.type}'">
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>劳动监察案件统计表</b>
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="left">
    填报单位：${organ.supOrganName} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    ${param.year} 年
    <c:if test="${param.type == '0'}">全年</c:if><c:if test="${param.type == '1'}">上半年</c:if><c:if test="${param.type == '2'}">下半年</c:if><c:if test="${param.type == '3'}">第1季度</c:if><c:if test="${param.type == '4'}">第2季年</c:if><c:if test="${param.type == '5'}">第3季度</c:if><c:if test="${param.type == '6'}">第4季度</c:if>
    </td>
 </tr>
  <tr>
    <td colspan="2" rowspan="3">&nbsp;</td>
    <td width="24" rowspan="3">结案数</td>
    <td height="20" colspan="14" align="center">案件分类</td>
    <td colspan="6" align="center">案件处理情况</td>
  </tr>
  <tr>
    <td width="24" rowspan="2">养老保险费征缴</td>
    <td width="24" rowspan="2">失业保险费征缴</td>
    <td width="24" rowspan="2">医疗保险费征缴</td>
    <td width="24" rowspan="2">职业中介</td>
    <td width="24" rowspan="2">招用童工</td>
    <td width="24" rowspan="2">女职工特殊劳动保护</td>
    <td width="24" rowspan="2">擅自招用外来劳动力</td>
    <td width="24" rowspan="2">劳动合同的订立和解除</td>
    <td width="24" rowspan="2">收取风险抵押金</td>
    <td width="24" rowspan="2">克扣 拖欠工资</td>
    <td width="24" rowspan="2">最低工资支付</td>
    <td width="24" rowspan="2">工作时间和休息 休假</td>
    <td width="24" rowspan="2">职业资格与职业培训</td>
    <td width="24" rowspan="2">其他</td>
    <td width="24" rowspan="2">责令限期改正</td>
    <td width="24" rowspan="2">行政处理决定</td>
    <td width="24" rowspan="2">行政处罚决定</td>
    <td height="20" colspan="3">行政处罚分类</td>
  </tr>
  <tr>
    <td width="24" height="108">警告</td>
    <td width="24">罚款</td>
    <td width="24">其他行政处罚</td>
  </tr>
  <tr>
    <td width="121" align="center">甲栏</td>
    <td width="24" align="center">序号</td>
    <td height="20">1</td>
    <td>2</td>
    <td>3</td>
    <td>4</td>
    <td>5</td>
    <td>6</td>
    <td>7</td>
    <td>8</td>
    <td>9</td>
    <td>10</td>
    <td>11</td>
    <td>12</td>
    <td>13</td>
    <td>14</td>
    <td>15</td>
    <td>16</td>
    <td>17</td>
    <td>18</td>
    <td>19</td>
    <td>20</td>
    <td>21</td>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <c:set var="num" scope="page" value="${num + 1}"/>
  <c:set var="v1" scope="page" value="${v1 + prod[1]}"/>
  <c:set var="v2" scope="page" value="${v2 + prod[2]}"/>
  <c:set var="v3" scope="page" value="${v3 + prod[3]}"/>
  <c:set var="v4" scope="page" value="${v4 + prod[4]}"/>
  <c:set var="v5" scope="page" value="${v5 + prod[5]}"/>
  <c:set var="v6" scope="page" value="${v6 + prod[6]}"/>
  <c:set var="v7" scope="page" value="${v7 + prod[7]}"/>
  <c:set var="v8" scope="page" value="${v8 + prod[8]}"/>
  <c:set var="v9" scope="page" value="${v9 + prod[9]}"/>
  <c:set var="v10" scope="page" value="${v10 + prod[10]}"/>
  <c:set var="v11" scope="page" value="${v11 + prod[11]}"/>
  <c:set var="v12" scope="page" value="${v12 + prod[12]}"/>
  <c:set var="v13" scope="page" value="${v13 + prod[13]}"/>
  <c:set var="v14" scope="page" value="${v14 + prod[14]}"/>
  <c:set var="v15" scope="page" value="${v15 + prod[15]}"/>
  <c:set var="v16" scope="page" value="${v16 + prod[16]}"/>
  <c:set var="v17" scope="page" value="${v17 + prod[17]}"/>
  <c:set var="v18" scope="page" value="${v18 + prod[18]}"/>
  <c:set var="v19" scope="page" value="${v19 + prod[19]}"/>
  <c:set var="v20" scope="page" value="${v20 + prod[20]}"/>
  <c:set var="v21" scope="page" value="${v21 + prod[21]}"/>
  </c:forEach>
   <tr>
    <td height="24" align="center">合计</td>
    <td>1</td>
    <td>${v1}</td>
    <td>${v2}</td>
    <td>${v3}</td>
    <td>${v4}</td>
    <td>${v5}</td>
    <td>${v6}</td>
    <td>${v7}</td>
    <td>${v8}</td>
    <td>${v9}</td>
    <td>${v10}</td>
    <td>${v11}</td>
    <td>${v12}</td>
    <td>${v13}</td>
    <td>${v14}</td>
    <td>${v15}</td>
    <td>${v16}</td>
    <td>${v17}</td>
    <td>${v18}</td>
    <td>${v19}</td>
    <td>${v20}</td>
    <td>${v21}</td>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td height="24">${prod[0]}</td>
    <td>${lineInfo.count+1}</td>
    <td>${prod[1]}</td>
    <td>${prod[2]}</td>
    <td>${prod[3]}</td>
    <td>${prod[4]}</td>
    <td>${prod[5]}</td>
    <td>${prod[6]}</td>
    <td>${prod[7]}</td>
    <td>${prod[8]}</td>
    <td>${prod[9]}</td>
    <td>${prod[10]}</td>
    <td>${prod[11]}</td>
    <td>${prod[12]}</td>
    <td>${prod[13]}</td>
    <td>${prod[14]}</td>
    <td>${prod[15]}</td>
    <td>${prod[16]}</td>
    <td>${prod[17]}</td>
    <td>${prod[18]}</td>
    <td>${prod[19]}</td>
    <td>${prod[20]}</td>
    <td>${prod[21]}</td>
  </tr>
  </c:forEach>
 
  <tr>
    <td height="24" align="center">补充材料</td>
    <td colspan="22">1.强制执行案件：${obj[0]}件；2.行政复议：${obj[1]}件；3.行政诉讼：${obj[2]}件；4.罚款金额：<fmt:formatNumber value="${obj[3]/10000}" pattern="#.0000#"/>万元。</td>
  </tr>
</c:if>
<c:if test="${empty list || param.areaCode == ''}">
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>请选择统计条件！</b>
    </td>
 </tr>
</c:if>
</table>
</body>
</html>
